package com.panda.takeaway.entity.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author John
 * @create 2021-08-11-23:02
 */
@Data
public class ShopInfoVo {


    private Long shopId;
    @NotNull(message = "店铺昵称不能为空")
    private String shopName;
    @NotNull(message = "店铺描述不能为空")
    private String description;
    @NotNull(message = "店铺位置不能为空")
    private String location;
    @Length(min = 11, max = 11, message = "该手机号不可用")
    private String phone;
    @NotNull(message = "店铺标签不能为空")
    private String[] shopLabel;
    @NotNull(message = "服务学校不能为空不能为空")
    private Integer[] serviceSchoolId;

}
